<?php


/**
 * Notes:
 * PROJECT_NAME : ERP v1.8 重构erp
 * User: 夏鱼儿<397072174@qq.com>
 * Date: 2023/12/28
 * Time: 15:50
 */

namespace app\admin\controller;

use app\admin\traits\Crud;
use app\admin\model\User as UserModel;
use app\admin\validate\UserValidate;

class User extends BaseAdminController
{
    private UserModel $model;
    use Crud;

    public function initialize()
    {
        parent::initialize();
        $this->model             = new UserModel();
        $this->validateClass     = UserValidate::class;
        $this->searchFields      = "id,name,real_name,mobile,status";
        $this->searchHiddenField = "password";
    }

}